home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.kdcol.net!usenet
- From: eriko@axtech.com (Erik Olson)
- Newsgroups: comp.lang.c++
- Subject: Re: Serious trouble with STL and NT/Win95
- Date: Thu, 15 Feb 1996 13:28:00 GMT
- Organization: Axiom Technologies
- Message-ID: <3123333e.52774675@server1>
- References: <4frrve$pnr@hustle.rahul.net>
- Reply-To: eriko@axtech.com
- NNTP-Posting-Host: s25.cs00.io.kdcol.net
- X-Newsreader: Forte Agent .99d/32.182
-
- On 14 Feb 1996 05:29:18 GMT, terris@rahul.net (Terris Linenbach)
- wrote:
-
- >The following applies to HP's STL implementation, including the version
- >shipped in Microsoft Visual C++ 4.0. Credit goes to David
- >Williams.
- > <snip>
- >1. It is not thread-safe. Do not attempt to perform
- > something on the same "type" of container in two different threads
- > at the same time. (You are in trouble even if you try to do this with
- > _different_ objects -- notice I said "type" and not "object")
- >
- >2. Do not pass *most* STL containers across DLL/EXE boundaries. Vectors
- > are OK.
- ><snip>
- >
-
- You may want to investigate Objectspace's commercial version of the
- STL (STL<Toolkit> - $149 for the PC) which is advertised as being
- thread-safe and compiles with VC 4.0. I'm not sure about passing
- containers across module boundaries. See:
- http://www.objectspace.com/products/stl/ for more info.
-
- FWIW,
-
- Erik
-